import 'package:flutter/material.dart';

//---------------创建AI图像、页面--------------//

class CreateNew extends StatefulWidget {
  final String inputFeature;
  const CreateNew({Key? key, required this.inputFeature}) : super(key: key);

  @override
  State<StatefulWidget> createState() => _CreateNewState();
}

class _CreateNewState extends State<CreateNew> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Second Route'),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            Navigator.pop(context);
          },
          child: const Text("inputFeature"),
        ),
      ),
    );
  }
}

// class CreateNew extends StatelessWidget {
//   const CreateNew({super.key});
//   var inputFeature;
// }
